package Game;
/**
 * Party.java
 * 
 * This enumerated class holds and provides information about characters, including their names and professions
 * 
 * @author Ray DeCuir
 * @version 1.0
 *
 */
public enum Party {

	// The five slots for characters in the player's party
	CHARACTER1,
	CHARACTER2,
	CHARACTER3,
	CHARACTER4,
	CHARACTER5;
	
	// the character's name
	private String name;
	
	// the character's profession 
	private CharacterType profession;
	
	/**
	 * 
	 * Sets the name of a character
	 * 
	 * @param name The new name for the character
	 */
	public void setName( String name )
	{
		this.name = name;
	}
	
	/**
	 * Gets the name of a character
	 * 
	 * @return The name of the character
	 */
	public String getName()
	{
		return name;
	}
	
	
	/**
	 * Sets the profession of the character
	 * 
	 * 
	 * @param profession The profession for the character
	 */
	public void setProfession( CharacterType profession)
	{
		this.profession = profession;
	}
	
	
	/**
	 * 
	 * Gets the character's profession
	 * 
	 * @return The character's profession 
	 */
	public CharacterType getProfession()
	{
		return profession;
	}
}
